package 牛客网_N.动态规划.股票交易日_12;

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		int n = Integer.parseInt(in.nextLine());
		int m = Integer.parseInt(in.nextLine());
		String A = in.nextLine();
		String B = in.nextLine();		
		in.close();
	}

}
